package com.tongji.seller.events
{ 
	import flash.events.Event;
	
	import mx.messaging.channels.StreamingAMFChannel;
	
	/**
	 * 
	 * @author jiarong
	 * 
	 */
	public class GetTypesEvent extends Event
	{
		public static const GET_PLACES:String = "getPlaces";
		public static const UPADATE_PLACES:String = "updatePlaces";
		
		public static const GET_STYLES:String = "getStyles";
		public static const UPDATE_STYLES:String = "updateStyles";
		
		public var typeArray:String;
		
		/**
		 * @param type
		 * GET_PLACES:获取场地
		 * UPADATE_PLACES:更新场地
		 * GET_STYLES：获取风格
		 * UPDATE_STYLES：更新风格
		 * @param placesOrstylesArray：String
		 * placesOrstylesArray：从数据库取出的数据
		 */		
		public function GetTypesEvent(type:String, typeArray:String = null)
		{
			super(type, true);
			this.typeArray = typeArray;
		}
		
		override public function clone():Event
		{
			return new GetTypesEvent(type, typeArray);
		}
	}
}